class AceGameViewport extends GameViewportClient
	config(Input)
	transient;

exec function DebugCreatePlayer(int ControllerId)
{
	local string Error;

	if(GamePlayers.Length < 2) {
		CreatePlayer(ControllerId, Error, TRUE);
	}
}

function UpdateActiveSplitscreenType()
{
	ActiveSplitscreenType = eSST_NONE;
}

event bool Init(out string OutError)
{
	if(super.Init(OutError))
	{	
		//add our custom ViewportInput interaction to capture pressing the start button for a dynamically-joining player
		if ( InsertInteraction(new(Self) class'SpecialInputInteraction') == -1 )
		{
			OutError = "Failed to add SpecialInputInteraction interaction to GlobalInteractions array!";
			return false;
		}

		return true;
	}
	
	return false;
}

DefaultProperties
{
}
